﻿using Abp.Application.Services;
using MyCompanyName.AbpZeroTemplate.Prm.Document.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace MyCompanyName.AbpZeroTemplate.Prm.Document
{
    public interface IDocumentAppService : IApplicationService
    {

        Task<List<GetDocumentCheckedTreeDto>> GetDocumentTree([FromUri]int projectId);
        List<GetDocumentTreeDto> GetProjectDocumentTree([FromUri]int projectId);
        Task SetProjectDocumentType(SetProjectDocumentTypeInPut input);
        Task UploadDocument();
        List<GetDocumentOutPut> GetDocument([FromUri]int typeId, int projectId);
        List<GetDocumentVersionOutPut> GetDocumentVersion([FromUri]int documentId);
        Task RemoveDocument([FromUri]int documentId, int projectId);
        Task EditDocument();
    }
}
